package com.china08.yxyapi.entity.db.sws;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.china08.yxyapi.entity.BaseEntity;

/**
 * 域名绑定
 * 
 * @author Ertao.Fang
 * 
 */
@Entity
@Table(name = "SWS_SETTING_DOMAINS", catalog = "yxy_sws")
public class SwsSettingDomains extends BaseEntity {

    private static final long serialVersionUID = 3985979838276360519L;

    @Id
    @Column(name = "id", length = 32)
    private String id;

    /** 学校ID */
    @Column(name = "school_id", nullable = false)
    private String schoolId;

    /** 域名名称 */
    @Column(name = "domain_name")
    private String domainName;

    /** 网站备案号 */
    @Column(name = "domain_icp")
    private String domainIcp;

    // getters and setters
    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

    public String getDomainIcp() {
        return domainIcp;
    }

    public void setDomainIcp(String domainIcp) {
        this.domainIcp = domainIcp;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }
}
